package com.flowerSystem.service;

import com.flowerSystem.entity.Coupon;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 鲜花遇上牛战士
 * @since 2023-08-28
 */
public interface CouponService extends IService<Coupon> {
    public boolean receive(int id);

    public List<Coupon> getCouponByuserId(int userId);

    public boolean upUserCoupon(int userId, int couponId);
}
